import time

str = '96987_96791_96783_96657_96502_96487_96219_96191_96189_95879_95875_95873_95693_95689_95671_95453_95429_95327_95319_95289_95284_95109_94718_94707_94705_94571'
print(str.split('_'))
print('\n'.join(str.split('_')))

print(time.strftime('%Y-%m-%d'))

list01 = ['96987', '96791', '96783', '96657', '96502', '96487', '96219', '96191', '96189', '95879', '95875', '95873', '95693', '95689', '95671', '95453', '95429', '95327', '95319', '95289', '95284', '95109', '94718', '94707', '94705', '94571']


list02 = []
for i in list01:
    list02.append(int(i))
list02.sort()
print(list02)

print(list01[0])
print(list01[-1])     # 94571
print(list01[0:5])    # ['96987', '96791', '96783', '96657', '96502']
print(list01[5:10])   # ['96487', '96219', '96191', '96189', '95879']
print(list01[10:15])  # ['95875', '95873', '95693', '95689', '95671']
print(list01[15:20])  # ['95453', '95429', '95327', '95319', '95289']
print(list01[20:25])  # ['95284', '95109', '94718', '94707', '94705']
print(list01[25:30])    # ['94571']
[print(i) for i in list01]